<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html"%>
<%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%>
<%@ taglib prefix="nested" uri="http://struts.apache.org/tags-nested"%>
<%@  page import="domain.PhoneNumber" %>
<jsp:include page="topHtml.jsp" />	
	<% String contactId = (String)request.getAttribute("contactId"); %>
	<html:form action="/CreatePhone" >
	<div class="errors" >
			<html:errors />
		</div>
		<input type="hidden" name="contactId" value="<%=contactId %>" />
		<p>
			<label for="phoneKind">Phone Kind : </label> <select name="phoneKind">
				<option value="Home">Home</option>
				<option value="Mobile">Mobile</option>
				<option value="Office">Office</option>
				<option value="Other">Other</option>
			</select><br />
			<label for="phoneNumber">Phone Number: </label>
			<input type="text" name="phoneNumber" size="12" /><br />
			<html:submit styleClass="button"><bean:message key="phone.add.link" /></html:submit>
		</p>
	</html:form>
<jsp:include page="bottomHtml.jsp" />	